package com.hibernate.model;

/**
 * Course entity. @author MyEclipse Persistence Tools
 */

public class Course implements java.io.Serializable {

	// Fields

	private Integer cid;
	private String tnumber;
	private String cname;
	private Integer cstatus;

	// Constructors

	/** default constructor */
	public Course() {
	}

	/** minimal constructor */
	public Course(String tnumber, String cname) {
		this.tnumber = tnumber;
		this.cname = cname;
	}

	/** full constructor */
	public Course(String tnumber, String cname, Integer cstatus) {
		this.tnumber = tnumber;
		this.cname = cname;
		this.cstatus = cstatus;
	}

	// Property accessors

	public Integer getCid() {
		return this.cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public String getTnumber() {
		return this.tnumber;
	}

	public void setTnumber(String tnumber) {
		this.tnumber = tnumber;
	}

	public String getCname() {
		return this.cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public Integer getCstatus() {
		return this.cstatus;
	}

	public void setCstatus(Integer cstatus) {
		this.cstatus = cstatus;
	}

}